package com.tedu.redissample.pojo;

public class Item {
    String itemId;
    String itemName;
    //添加一个无参构造方法
    public Item(){

    }
    //创建有参构造方法

    public Item(String itemId, String itemName) {
        this.itemId = itemId;
        this.itemName = itemName;
    }

    //get() and set()

    public String getItemId() {
        return itemId;
    }

    public void setItemId(String itemId) {
        this.itemId = itemId;
    }

    public String getItemName() {
        return itemName;
    }

    public void setItemName(String itemName) {
        this.itemName = itemName;
    }
}
